package com.nit.lab.service;

import com.nit.lab.dto.DtoMenu;
import com.nit.lab.dto.utils.DtoDataTable;
import com.nit.lab.dto.DtoUser;

import java.util.List;

/**
 * Created by Shaury on 2017/10/10.
 */
public interface UserService {
    List<DtoUser> getUser4DataTable(DtoDataTable dtoDataTable) throws Exception;

    Integer getUser4DataTableCount(String search) throws Exception;

    Integer insertUserInfo(DtoUser dtoUser) throws Exception;

    Integer updateUserInfo(DtoUser dtoUser) throws Exception;

    String deleteUserInfo(Integer userId) throws Exception;

    /**
     * @Description: 根据用户角色获取菜单
     * @Author: 卫超越
     * @Date: 2017/12/25 上午9:31
     * @return:
     */
    List<DtoMenu> getMenus(Integer actorId) throws Exception;
}
